package com.jiazhong.cloud.seata.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("cloud-seata-stock")
public interface StockFeign {
    @RequestMapping("/stock/update/{gid}/{number}")
    String update(@PathVariable("gid") String gid, @PathVariable("number") int number);
}
